import 'package:bxultimate/data/request/shop_request.dart';
import 'package:get/get.dart';

import 'state.dart';

class HonourCardRcApplyController extends GetxController {
  final HonourCardRcApplyState state = HonourCardRcApplyState();

  @override
  void onInit() {
    // TODO: implement onInit
    super.onInit();
    getData();
  }

  void getData() async {
    state.shop = await ShopRequest.getShopDetail(Get.arguments['id']);
  }
}
